$(function(){
	//0229-点击进入创建登陆框
	$("#log_btn").click(
		function() {
			var username=$("#username").val();
			var password=$("#password").val();

			console.info("username:"+username);
			console.info("password:"+password);
			 $.ajax({ 
				type: "POST", 
				url: "log.do", 
				data:$("#log_form").serializeArray(),
				success: function (data) {
				$("#myModal").modal('hide');
				//日了狗了
				//ajax提交表单后不会跳转，需要自己手动跳转
				window.location.href="/online_signup_system/log.do";
				console.info("success log");
				}		
			 });
		});
});